package com.rongc.client.freight.business.mine.request.api;


import com.android.volley.Response;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.UniApplication;
import com.rongc.client.freight.business.mine.model.ScoreBean;


/*
*  我的积分
* */
public class MineScoreApi extends AbsRequest<MineScoreApi.MineScoreParams, ScoreBean[]> {

    public MineScoreApi(MineScoreParams feedbackParams, Response.Listener<ScoreBean[]> listener, Response.ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getJiFenUrl(), feedbackParams, listener, errorListener, ScoreBean[].class);
    }

    public static class MineScoreParams extends BaseParams {

        public MineScoreParams() {
//            put("userId", "86");
            put("userId", UniApplication.getInstance().getUserInfo().getUserId());
        }
    }
}
